package org.framework.edge.builder.infrastructure.converter;

import org.framework.edge.builder.domain.model.docker.repository.DockerRepository;
import org.framework.edge.builder.infrastructure.entity.DockerRepositoryDO;
import org.wu.framework.core.mapper.LazyStructMapper;
import org.wu.framework.core.mapper.LazyStructMappers;

/**
 * describe Docker 仓库 
 *
 * @author Jia wei Wu
 * @date 2024/08/13 07:39 晚上
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyInfrastructureConverter 
 **/
@LazyStructMapper
public interface DockerRepositoryConverter {


    /**
     * describe MapStruct 创建的代理对象
     *
     
     
     
     * @author Jia wei Wu
     * @date 2024/08/13 07:39 晚上
     **/
    DockerRepositoryConverter INSTANCE = LazyStructMappers.getMapper(DockerRepositoryConverter.class);
    /**
     * describe 实体对象 转换成领域对象
     *
     * @param dockerRepositoryDO Docker 仓库实体对象     
     * @return {@link DockerRepository} Docker 仓库领域对象     
     
     * @author Jia wei Wu
     * @date 2024/08/13 07:39 晚上
     **/
    DockerRepository toDockerRepository(DockerRepositoryDO dockerRepositoryDO);
    /**
     * describe 领域对象 转换成实体对象
     *
     * @param dockerRepository Docker 仓库领域对象     
     * @return {@link DockerRepositoryDO} Docker 仓库实体对象     
     
     * @author Jia wei Wu
     * @date 2024/08/13 07:39 晚上
     **/
     DockerRepositoryDO fromDockerRepository(DockerRepository dockerRepository); 
}